package com.lexian.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店商品信息表
 * </p>
 *
 * @author testjava
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Goodsstore对象", description="门店商品信息表")
public class Goodsstore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店商品编号")
    @TableId(value = "goodsstore_id", type = IdType.AUTO)
    private Long goodsstoreId;

    @ApiModelProperty(value = "商品编号")
    private Long goodsId;

    @ApiModelProperty(value = "商品所属门店编号")
    private String storeId;

    @ApiModelProperty(value = "商品现售价")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品原售价")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "商品库存数量")
    private Integer goodsAmont;

    @ApiModelProperty(value = "商品库存告警(锁定)线")
    private Integer goodsLockamot;

    @ApiModelProperty(value = "商品状态。1：上架；0：下架")
    private Integer type;


}
